home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / dwsetup.rc < prev    next >
Encoding:
Text File  |  2001-01-01  |  4.6 KB  |  149 lines

  1. /* Copyright (C) 1999, 2000, Ghostgum Software Pty Ltd.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19.  
  20. // $Id: dwsetup.rc,v 1.4 2000/09/22 05:35:02 lpd Exp $
  21.  
  22. #include <windows.h>
  23. #include "dwsetup.h"
  24.  
  25. #ifndef DS_3DLOOK
  26. #define DS_3DLOOK 0x0004L    /* for Windows 95 look */
  27. #endif
  28.  
  29. /////////////////////////////////////////////////////////////////////////////
  30. //
  31. // Dialog
  32. //
  33.  
  34. IDD_MAIN DIALOG 32, 32, 300, 200
  35. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP /* | WS_VISIBLE */ | WS_CAPTION | WS_SYSMENU 
  36. CAPTION "AFPL Ghostscript Setup"
  37. FONT 8, "MS Sans Serif"
  38. BEGIN
  39.     DEFPUSHBUTTON   "Install",IDC_INSTALL,240,178,50,14
  40.     ICON            IDR_MAIN,IDC_STATIC,11,17,20,20
  41.     LTEXT           "This installs",IDC_STATIC,56,6,232,8
  42.     LTEXT           "Product Name",IDC_PRODUCT_NAME,72,16,216,8
  43.     LTEXT           "Copyright (C) 1994-2000 Aladdin Enterprises, Menlo Park, California, U.S.A.  All rights reserved. See the file PUBLIC for more details.\n\nRequires 10 - 20 Mbytes disk space.",
  44.                     IDC_COPYRIGHT,56,30,232,48
  45.  
  46.     LTEXT           "Install to directory",IDC_STATIC,8,92,56,8
  47.     CONTROL         "Install Fonts",IDC_INSTALL_FONTS,"Button",
  48.                     BS_AUTOCHECKBOX | WS_TABSTOP,160,90,85,12
  49.     EDITTEXT        IDC_TARGET_DIR,8,104,220,12,ES_AUTOHSCROLL
  50.     PUSHBUTTON      "Browse...",IDC_BROWSE_DIR,240,103,50,14
  51.  
  52.     LTEXT           "Add shortcuts to",IDC_STATIC,8,132,52,8
  53.     CONTROL         "All Users",IDC_ALLUSERS,"Button",
  54.             BS_AUTOCHECKBOX | WS_TABSTOP,160,130,44,10
  55.     EDITTEXT        IDC_TARGET_GROUP,8,144,220,12,ES_AUTOHSCROLL
  56.     PUSHBUTTON      "Browse...",IDC_BROWSE_GROUP,240,143,50,14
  57.     PUSHBUTTON      "Cancel",IDCANCEL,8,178,50,14
  58.     PUSHBUTTON      "Help",IDC_README,124,178,50,14
  59. END
  60.  
  61.  
  62.  
  63. IDD_TEXTWIN DIALOG DISCARDABLE  0, 0, 318, 169
  64. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  65. CAPTION "AFPL Ghostscript setup log"
  66. FONT 8, "MS Sans Serif"
  67. BEGIN
  68.     PUSHBUTTON      "Cancel",IDCANCEL,261,148,50,14
  69.     EDITTEXT        IDC_TEXTWIN_MLE,7,7,304,136,ES_MULTILINE | ES_WANTRETURN | 
  70.                     WS_VSCROLL | WS_HSCROLL
  71.     PUSHBUTTON      "Copy to Clipboard",IDC_TEXTWIN_COPY,7,148,84,14
  72. END
  73.  
  74. IDD_DIRDLG DIALOG DISCARDABLE  0, 0, 273, 140
  75. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU
  76. CAPTION "Select Folder"
  77. FONT 8, "MS Sans Serif"
  78. BEGIN
  79.     DEFPUSHBUTTON   "OK",IDOK,216,7,50,14
  80.     PUSHBUTTON      "Cancel",IDCANCEL,216,24,50,14
  81.     LISTBOX         IDC_FILES,7,7,197,70,LBS_SORT | LBS_NOINTEGRALHEIGHT | 
  82.                     WS_VSCROLL | WS_TABSTOP
  83.     LTEXT           "Folder",IDC_FOLDER,7,82,259,12
  84.     LTEXT           "Destination Folder",IDC_STATIC,7,105,259,12
  85.     EDITTEXT        IDC_TARGET,7,120,259,12,ES_AUTOHSCROLL
  86. END
  87.  
  88.  
  89.  
  90. /////////////////////////////////////////////////////////////////////////////
  91. //
  92. // Icon
  93. //
  94.  
  95. // Icon with lowest ID value placed first to ensure application icon
  96. // remains consistent on all systems.
  97. IDR_MAIN                ICON    DISCARDABLE     "gstext.ico"
  98.  
  99. /////////////////////////////////////////////////////////////////////////////
  100. //
  101. // DESIGNINFO
  102. //
  103.  
  104. #ifdef APSTUDIO_INVOKED
  105. GUIDELINES DESIGNINFO DISCARDABLE 
  106. BEGIN
  107.     IDD_MAIN, DIALOG
  108.     BEGIN
  109.         LEFTMARGIN, 8
  110.         RIGHTMARGIN, 288
  111.         TOPMARGIN, 6
  112.         BOTTOMMARGIN, 192
  113.     END
  114.     IDD_TEXTWIN, DIALOG
  115.     BEGIN
  116.         LEFTMARGIN, 7
  117.         RIGHTMARGIN, 311
  118.         TOPMARGIN, 7
  119.         BOTTOMMARGIN, 162
  120.     END
  121.  
  122.     IDD_DIRDLG, DIALOG
  123.     BEGIN
  124.         LEFTMARGIN, 7
  125.         RIGHTMARGIN, 266
  126.         TOPMARGIN, 7
  127.         BOTTOMMARGIN, 133
  128.     END
  129. END
  130. #endif    // APSTUDIO_INVOKED
  131.  
  132.  
  133. /////////////////////////////////////////////////////////////////////////////
  134. //
  135. // String Table
  136. //
  137.  
  138. STRINGTABLE DISCARDABLE 
  139. BEGIN
  140.     IDS_APPNAME             "AFPL Ghostscript Setup"
  141.     IDS_TARGET_DIR          "C:\\gs"
  142.     IDS_TARGET_GROUP        "Ghostscript"
  143. END
  144.  
  145. /////////////////////////////////////////////////////////////////////////////
  146.  
  147.  
  148.  
  149.